﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="list.aspx.cs" Inherits="admin_account_list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <f:PageManager ID="PageManager1" runat="server" />
    <f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="表格" EnableCollapse="true"
        Width="850px" runat="server" DataKeyNames="ID,Name" AllowCellEditing="true" ClicksToEdit="2"
        AllowPaging="true" IsDatabasePaging="true" OnPageIndexChange="Grid1_OnPageIndexChange">
        <Toolbars>
            <f:Toolbar ID="Toolbar1" runat="server">
                <Items>
                    <f:Button ID="btnNew" Text="新增数据" EnablePostBack="false" runat="server">
                    </f:Button>
                    <f:Button ID="btnDelete" Text="删除选中行" EnablePostBack="false" runat="server">
                    </f:Button>
                    <f:MenuSeparator ID="a" runat="server">
                    </f:MenuSeparator>
                    <f:TextBox ID="txtName" runat="server" Label="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名称">
                    </f:TextBox>
                    <f:Button ID="btnSearch" runat="server" Text="搜索" OnClick="btnSearch_Click">
                    </f:Button>
                </Items>
            </f:Toolbar>
        </Toolbars>
        <Columns>
            <f:RenderField Width="100px" ColumnID="YupooAccount" DataField="YupooAccount" FieldType="String"
                HeaderText="又拍账号" Hidden="true">
                <Editor>
                    <f:TextBox ID="tbxEditorName" Required="true" runat="server">
                    </f:TextBox>
                </Editor>
            </f:RenderField>
            <f:RenderField Width="100px" ColumnID="Name" DataField="Name" FieldType="String"
                HeaderText="名称">
                <Editor>
                    <f:TextBox ID="TextBox1" Required="true" runat="server">
                    </f:TextBox>
                </Editor>
            </f:RenderField>
            <f:RenderField Width="100px" ColumnID="Url" DataField="Url" FieldType="String" HeaderText="相册链接">
                <Editor>
                    <f:TextBox ID="TextBox2" Required="true" runat="server">
                    </f:TextBox>
                </Editor>
            </f:RenderField>
            <f:RenderField Width="120px" ColumnID="Address" DataField="Address" FieldType="String"
                HeaderText="地址">
                <Editor>
                    <f:TextBox ID="TextBox3" Required="true" runat="server">
                    </f:TextBox>
                </Editor>
            </f:RenderField>
            <f:RenderField Width="100px" ColumnID="QQ" DataField="QQ" FieldType="String" HeaderText="QQ">
                <Editor>
                    <f:TextBox ID="tbxEditorMajor" Required="true" runat="server">
                    </f:TextBox>
                </Editor>
            </f:RenderField>
            <f:RenderField Width="100px" ColumnID="Notes" DataField="Notes" FieldType="String"
                HeaderText="详情">
                <Editor>
                    <f:TextBox ID="TextBox4" Required="true" runat="server">
                    </f:TextBox>
                </Editor>
            </f:RenderField>
        </Columns>
    </f:Grid>
    <br />
    <f:Button ID="Button2" runat="server" Text="保存数据" OnClick="Button2_Click">
    </f:Button>
    </form>
</body>
</html>
